package com.yuyou.train.lesson.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.yuyou.train.service.api.lesson.dto.LessonSubjectRelationDTO;
import com.yuyou.train.service.api.lesson.entity.LessonSubjectRelation;

@Mapper
public interface LessonSubjectRelationMapper {
	
    int deleteByPrimaryKey(String id);
    
    int deleteByLessonId(String lessonId);

    int insert(LessonSubjectRelation record);

    LessonSubjectRelation selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(LessonSubjectRelation record);
    
    List<LessonSubjectRelationDTO> findBylessonId(String lessonId);

}